/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.KDniao.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 物流公司信息Entity
 * @author Owen
 * @version 2017-04-05
 */
public class LogisticsCode extends DataEntity<LogisticsCode> {
	
	private static final long serialVersionUID = 1L;
	private String logisticsCompany;		// 物流公司
	private String logisticsCode;		// 物流公司编号
	private String createUser;		// 创建用户
	private String isenadle;		// 是否启用（1启用，0否）
	private String money;		// 费用
	
	public LogisticsCode() {
		super();
	}

	public LogisticsCode(String id){
		super(id);
	}

	@Length(min=1, max=120, message="物流公司长度必须介于 1 和 120 之间")
	public String getLogisticsCompany() {
		return logisticsCompany;
	}

	public void setLogisticsCompany(String logisticsCompany) {
		this.logisticsCompany = logisticsCompany;
	}
	
	@Length(min=1, max=45, message="物流公司编号长度必须介于 1 和 45 之间")
	public String getLogisticsCode() {
		return logisticsCode;
	}

	public void setLogisticsCode(String logisticsCode) {
		this.logisticsCode = logisticsCode;
	}
	
	@Length(min=0, max=100, message="创建用户长度必须介于 0 和 100 之间")
	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	
	@Length(min=0, max=11, message="是否启用（1启用，0否）长度必须介于 0 和 11 之间")
	public String getIsenadle() {
		return isenadle;
	}

	public void setIsenadle(String isenadle) {
		this.isenadle = isenadle;
	}
	
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
}